package com.tanhua.server.service;

import com.tanhua.model.vo.PageResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;

public interface VideoService {
    void uploadVideo(MultipartFile videoThumbnail, MultipartFile videoFile) throws IOException;

    PageResult videoList(Integer page, Integer pagesize);

    void videoLike(String id);

    void videoDislike(String id);

    void userFocus(Long uid);

    void userUnFocus(Long uid);

    void comments(String id,String comment);

    PageResult commentsList(String id, Integer page, Integer pagesize);

    void commentsLike(String id);

    void commentsDislike(String id);
}
